<div class="pageContent">
    <form action="__URL__/update/navTabId/{:CONTROLLER_NAME}" id="j_custom_form" class="pageForm form-validate" method="post" callback="dialogAjaxDone" noEnter>
      <input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>"/>
		<input type="hidden" name="uid" value="{$vo.uid}" />
        <div class="pageFormContent form-horizontal" layouth="60">
            <div class="form-group">
                <label for="j_username" class="control-label col-sm-2 ">用户名：</label>
                <input type="text" class="form-control validate[required,custom[onlyLetterNumber],minSize[3]] required" size="30" name="username" id="j_username" value="{$vo.username}"  >
            </div>
            
            <div class="form-group">
                <label for="j_nickname" class="control-label col-sm-2">昵称：</label>
                <input type="text" class="form-control validate[required] required" size="30" name="nickname" id="j_nickname" value="{$vo.nickname}" >
            </div>
             <div class="form-group">
                <label for="j_email" class="control-label col-sm-2">Email：</label>
                <input type="text" class="form-control validate[custom[email],required] required" size="30" name="email" id="j_email" value="{$vo.email}" >
            </div>
            <div class="form-group">
                <label for="j_roleId" class="control-label col-sm-2">管理组：</label>
                <select name="roleId" id="j_roleId"  data-container="body"  class="selectpicker show-tick" data-style="btn-default btn-sm" data-width="auto">
                               
                              
	              		 <option value="">请选择管理组</option>
		        <volist name="list" id="list">
						<option value="{$list.id}" <eq name="vo.roleid" value="$list.id" >selected</eq>>{$list.name}</option>
                                                <volist name="list['_child']" id="sub">
                                                    <option value="{$sub.id}" <eq name="vo.roleid" value="$sub.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;{$sub.name}</option>
                                                       <volist name="sub['_child']" id="threetree">
                                                            <option value="{$threetree.id}" <eq name="vo.roleid" value="$threetree.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$threetree.name}</option>
                                                        </volist>
                                                </volist>
					</volist>
                 </select>
                 
            </div>
            <div class="form-group">
                <label for="j_mroleId" class="control-label col-sm-2">会员组：</label>
                <select name="mroleId" id="j_mroleId"  data-container="body"  class="selectpicker show-tick validate[required]" data-style="btn-default btn-sm" data-width="auto">
                               
                              
	              		 <option value="">请选择会员组</option>
		        <volist name="mlist" id="mlist">
						<option value="{$mlist.id}" <eq name="vo.mroleid" value="$mlist.id" >selected</eq>>{$mlist.name}</option>
                                                <volist name="mlist['_child']" id="sub">
                                                    <option value="{$sub.id}" <eq name="vo.mroleid" value="$sub.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;{$sub.name}</option>
                                                       <volist name="sub['_child']" id="threetree">
                                                            <option value="{$threetree.id}" <eq name="vo.mroleid" value="$threetree.id" >selected</eq>>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$threetree.name}</option>
                                                        </volist>
                                                </volist>
					</volist>
                 </select>
                 
            </div>

		</div>
		<div class="formBar">
            <ul>
                <li><button type="submit" class="btn btn-primary btn-sm">保存</button></li>
                <li><button type="button" class="btn btn-close btn-sm">取消</button></li>
            </ul>
		</div>
    </form>
</div>